package com.anyou.mall.enterprise.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anyou.common.annotation.Excel;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 企业类型对象 pla_enterprise_type
 *
 * @author 李奇鹏
 * @date 2022-03-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "企业类型对象")
@TableName(value = "pla_enterprise_type")
public class EnterpriseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业类型编号 */
    @ApiModelProperty("企业类型编号")
    @TableId(type = IdType.AUTO)
    private Long enterpriseTypeId;

    /** 企业类型名称 */
    @ApiModelProperty("企业类型名称")
    @Excel(name = "企业类型名称")
    private String enterpriseTypeName;

    /** 删除标志 */
    @ApiModelProperty("删除标志")
    private String delFlag;

    public void setEnterpriseTypeId(Long enterpriseTypeId)
    {
        this.enterpriseTypeId = enterpriseTypeId;
    }

    public Long getEnterpriseTypeId()
    {
        return enterpriseTypeId;
    }
    public void setEnterpriseTypeName(String enterpriseTypeName)
    {
        this.enterpriseTypeName = enterpriseTypeName;
    }

    public String getEnterpriseTypeName()
    {
        return enterpriseTypeName;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("enterpriseTypeId", getEnterpriseTypeId())
            .append("enterpriseTypeName", getEnterpriseTypeName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
